package org.arnetminer.personalized.service;

import java.util.List;

import org.arnetminer.personalized.util.Page;
import org.arnetminer.personalized.vo.Message;
import org.arnetminer.personalized.vo.User;

public interface MessageService {
	
	public boolean save(Message message);
	
	public int getInCountByUser(User user, int isDraft);
	
	public List getUserInMessage(User user, Page page, int isDraft);
	
	public int getOutCountByUser(User user, int isDraft);
	
	public List getUserOutMessage(User user, Page page, int isDraft);
	
	public Message getMessage(long id);
	
	public boolean delete(long id, User user);
	
	/*
	public List getUserStatus(User user, int start, int max);
	
	public boolean delete(long id, User user);
	
	public boolean saveComment(Comment comment);
	
	public List getStatusComment(Status status, int start, int max);
	
	public List getStatusComment(Status status);
	
	public boolean deleteComment(long id, User user);
	*/
}
